What is the origin of the name marvin?

The name Marvin is of Welsh origin. It is derived from the Welsh personal name Merfyn, which means "sea hill" or "hill near the sea." The name was brought to England by the Welsh during the Middle Ages and became popularized as a given name during the 19th century. The name has also been used in popular culture, such as the character Marvin the Martian from the Looney Tunes cartoons.